Skip to content

chore: add deployment issue board with all pre-deploy tasks#32

Merged
Tpypan merged 2 commits intoplanningfrom
copilot/sub-pr-29-again
Mar 16, 2026
Merged

chore: add deployment issue board with all pre-deploy tasks#32
Tpypan merged 2 commits intoplanningfrom
copilot/sub-pr-29-again

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 16, 2026

PR #29 contained a phased deployment PRD (66 tickets) and architecture context file, but no consolidated task list actionable as a checklist. Review discussions also surfaced several tasks not captured in the PRD.

Changes

  • plan/ISSUE_BOARD.md — 71 tasks extracted from PRD.md and PR review threads, organized by phase/priority with a P0-only summary table at the bottom for the minimum viable deploy checklist

Extra tasks surfaced from review (beyond PRD's 66)

# Source Task
24 @Kaibo-Huang Pipeline locking mechanism (pg_try_advisory_lock or Redis) to prevent zombie cron runs
37 @Kaibo-Huang / @LucasHJin Server-side viewport filtering + clustering for /content/points to avoid massive JSON payloads
45 note @Kaibo-Huang asyncpg pool max_size must be set explicitly; default of 10 will cause "too many connections" under load
49 @copilot-reviewer Migrate sync psycopg2 route handlers (content.py) to async — docs claimed async-only but code wasn't
70 @copilot-reviewer DATABASE_URL must use postgresql:// not postgresql+asyncpg://; both psycopg2 and asyncpg reject the SQLAlchemy-style scheme
71 @ryanzhou147 S3 will be used for media — keep image_url as the S3 URL column, drop s3_url only

Note: GitHub Issues and PR merge require write permissions not available to this agent (issues: read, pull_requests: read). The ISSUE_BOARD.md serves as the in-repo task tracker; issues can be bulk-imported from it manually.


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

Co-authored-by: Tpypan <155002057+Tpypan@users.noreply.github.com>
Copy link
Copy Markdown
Author

Copilot AI commented Mar 16, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh gh auth status (http block)
  • https://api.github.com/repos/Argus-Argus/argus/issues
    • Triggering command: /usr/bin/curl curl -s -H Authorization: token ****** REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Add planning documentation for deployment improvements chore: add deployment issue board with all pre-deploy tasks Mar 16, 2026
Copilot AI requested a review from Tpypan March 16, 2026 23:22
@Tpypan Tpypan marked this pull request as ready for review March 16, 2026 23:24
Copilot AI review requested due to automatic review settings March 16, 2026 23:24
@Tpypan Tpypan merged commit 7290d07 into planning Mar 16, 2026
2 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an in-repo deployment checklist (“issue board”) consolidating pre-deploy tasks from the deployment PRD and review discussions, to make the deployment plan actionable as a phase/priority-driven checklist.

Changes:

  • Introduces plan/ISSUE_BOARD.md with 71 tasks organized by phase and priority (P0–P2).
  • Adds a P0-only summary table intended as the minimum viable pre-deploy checklist.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- [ ] **#8** `[P0]` Delete junk scrapers: `eonet.py`, `eonet_db.py`, `social_scraper.py`, `reddit.py`, `reddit_classifier.py`, `reddit_db.py`, `reddit_schema.sql`, `Reddit Scraper/`, `natural-disasters/`, `ryan_scrapers/`
- [ ] **#9** `[P0]` Move remaining hackathon scrapers (`gdelt.py`, `kalshi.py`, `polymarket.py`, `acled/`) into a `scrapers/_reference/` directory — kept as design inspiration only
- [ ] **#10** `[P0]` Remove duplicate `content_repository.py` (exists in both `repositories/` and `ingestion/`) — consolidate into one
- [ ] **#11** `[P0]` Remove all Cloudinary and legacy S3 media code — delete `utils/mediaConfig.ts`, remove `@cloudinary/react` and `@cloudinary/url-gen` from frontend, remove `cloudinary` and `boto3` from backend, drop `image_url` and `s3_url` columns from `content_table`, remove all `CLOUDINARY_*` and `AWS_*`/`S3_*` env vars. **Note (from review):** team confirmed S3 *will* be used for media storage, so keep `image_url` (repurposed as the S3 URL column) but drop `s3_url` as a duplicate.
## Environment & Configuration

- [ ] **#70** `[P0]` Set `DATABASE_URL` to `postgresql://user:pass@host:5432/dbname` (no `+asyncpg` suffix) — both psycopg2 and asyncpg consume it as a standard libpq DSN. Update all documentation and `.env.example` to reflect this.
- [ ] **#71** `[P0]` Add all required environment variables to `.env.example` with comments: `DATABASE_URL`, `GEMINI_API_KEY`, `GEMINI_MODEL`, `OPENAI_API_KEY` (until local embeddings), `ACLED_API_KEY`, `ELEVENLABS_API_KEY` (optional). Remove any `CLOUDINARY_*`, `AWS_*`, `S3_*` examples.
Comment on lines +146 to +158
## P0 Summary — Must Complete Before First Deploy

The following P0 items are the minimum required to go live:

| # | Task |
|---|------|
| 1 | Backend Dockerfile |
| 2 | Frontend Dockerfile |
| 3 | docker-compose.yml |
| 4 | .dockerignore files |
| 5 | GitHub Actions CI |
| 8 | Delete junk scrapers |
| 10 | Consolidate duplicate content_repository.py |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants